<%-- 
    Document   : demo1
    Created on : 5 nov. 2010, 14:39:29
    Author     : boomar
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Hello World!</h1>

        <%
                    int i, fact;
                    for (i = 1, fact = 1; i < 4; i++, fact *= i) {
                        out.print(i+"!="+fact+"<BR>");
                    }
        %>
    </body>
</html>
